<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<h2 align="center">Login Application</h2>
	<div align="center">
		<html:form commandName="loginForm">
			<table>
				<tr>
					<td>Username :&nbsp;</td>
					<td><html:input path="loginName" /></td>
					<td><html:errors path="lname"></html:errors></td>
				</tr>
				<tr>
					<td>Password :&nbsp;</td>
					<td><html:password path="password" /></td>
					<td><html:errors path="pwd"></html:errors></td>
				</tr>
				<tr>
					<td>Role :&nbsp;</td>
					<td><html:radiobutton path="role" value="M" />&nbsp;:&nbsp;Male&nbsp;<html:radiobutton
							path="role" value="F" />&nbsp;:&nbsp;FeMale</td>
					<td><html:errors path="role"></html:errors></td>
				</tr>
				<tr>
					<td></td>
					<td><input type="submit" value="logIN" /></td>
					<td></td>
				</tr>
			</table>
		</html:form>
	</div>
</body>
</html>